# -*- coding: utf-8 -*-
"""
Created on Tue Oct 15 15:30:18 2019

@author: XCL01
"""


import numpy as np
a = np.array([[3,4,2],[5,3,4],[8,2,7]])
b = np.array([10,14,20])
answer = np.linalg.solve(a ,b)
print("x = {0[0]}, y = {0[1]}, z = {0[2]}".format(answer))
print("x = {0}, y = {1}, z = {2}".format(*answer))
